<template>
    <h2>我是About的内容</h2>
</template>

<script>
    export default {
        name:'About',
        mounted(){
            console.log('About已挂载',this);
            window.AboutRoute = this.$route;
            window.AboutRouter = this.$router;
        },
        beforeDestroy(){
            console.log('About即将销毁');
        }
    }
</script>

<style>

</style>